package com.bringway.p2p.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.P2PCustomerDao;
import com.bringway.p2p.service.P2PCustomerService;

import net.sf.json.JSONObject;

/*
 * @author fan
 * @className P2PCustomerServiceImpl
 * @description 客户信息接口实现类
 * @date 2016年1月28日下午2:09:51
 */
@Transactional
@Service
public class P2PCustomerServiceImpl implements P2PCustomerService {
	@Resource
	private P2PCustomerDao p2pCustomerDao;
	/*
	 * (non-Javadoc)
	 * @see com.bringway.p2p.service.P2PCustomerService#getCustomerFeedBackInfo(net.sf.json.JSONObject)
	 */
	@Override
	public List getCustomerFeedBackInfo(JSONObject parms) {
		return p2pCustomerDao.getCustomerFeedBackInfo(parms);
	}
	@Override
	public int getPageCount(JSONObject parms) {
		return p2pCustomerDao.getPageCount(parms);
	}
}
